﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ChiTietMedia.ascx.cs" Inherits="CuoiHoi.UserControls.ChiTietMedia" %>

<div class="row">
    <h1>Album Ảnh: <% Response.Write(TbAnh.Rows[0]["TenAlbum"].ToString());%></h1>
    <% for (int i = 0; i < TbAnh.Rows.Count; i++)
       {     %>
    <div class="col-xs-6 col-md-3">
        <a href="#" data-toggle="modal" data-target=".ex-modal-lg" class="thumbnail">
            <img alt='<% Response.Write(TbAnh.Rows[i]["TenHinh"].ToString()); %>'
                src='../images/<% Response.Write(TbAnh.Rows[i]["DuongDanHinh"].ToString()); %>'
                style="height: 180px; width: 100%; display: block;" />
        </a>
    </div>
    <%}%>
</div>

